package com.yong.entity;

import java.util.Date;

/**
 * 描述:
 *
 * @author BluceYoung
 * @create 2020-06-29 10:19
 * B站：TeacherYoung凌风
 * www.teacheryoung.com
 */
public class Student {
    private String name;
    private Integer age;
    private String city;
    private Date birth;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public Student(String name, Integer age, String city) {
        this.name = name;
        this.age = age;
        this.city = city;
    }

    public Student() {
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", city='" + city + '\'' +
                ", birth=" + birth +
                '}';
    }
}
